package com.crr.query;

import com.crr.common.bean.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("用户搜索条件")
@Data
public class EmployeeQuery extends PageQuery {
    @NotNull(message ="员工名不能为空")
    @ApiModelProperty("员工名称")
    String name;
    @ApiModelProperty("员工手机号")
    String mobile;
    @ApiModelProperty("部门id")
    int deptId;
}
